package com.jxl.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 游戏版本
 * @author 江雪林
 * @create 2021-03-29
 */
public class GameVersion {
    private Integer id;//主键id',
    private Integer appId;//来源于：app_info表的主键id
    private String  versionNo;//版本号
    private String versionInfo;//版本介绍
    private Integer publishStatus;//发布状态（来源于：data_dictionary，1 不发布 2 已发布 3 预发布
    private String downloadLink;//下载链接
    private Double versionSize;//版本大小（单位：M)
    private Integer creater;//创建者（来源于dev_user开发者信息表的用户id）
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTm;//创建时间
    private Integer modifyor;//更新者（来源于dev_user开发者信息表的用户id
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date modifyTm;//最新更新时间
    private String apkLocPath;//apk文件的服务器存储路径
    private String apkFileName;//上传的apk文件名称

    public GameVersion() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo;
    }

    public String getVersionInfo() {
        return versionInfo;
    }

    public void setVersionInfo(String versionInfo) {
        this.versionInfo = versionInfo;
    }

    public Integer getPublishStatus() {
        return publishStatus;
    }

    public void setPublishStatus(Integer publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getDownloadLink() {
        return downloadLink;
    }

    public void setDownloadLink(String downloadLink) {
        this.downloadLink = downloadLink;
    }

    public Double getVersionSize() {
        return versionSize;
    }

    public void setVersionSize(Double versionSize) {
        this.versionSize = versionSize;
    }

    public Integer getCreater() {
        return creater;
    }

    public void setCreater(Integer creater) {
        this.creater = creater;
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public Integer getModifyor() {
        return modifyor;
    }

    public void setModifyor(Integer modifyor) {
        this.modifyor = modifyor;
    }

    public Date getModifyTm() {
        return modifyTm;
    }

    public void setModifyTm(Date modifyTm) {
        this.modifyTm = modifyTm;
    }

    public String getApkLocPath() {
        return apkLocPath;
    }

    public void setApkLocPath(String apkLocPath) {
        this.apkLocPath = apkLocPath;
    }

    public String getApkFileName() {
        return apkFileName;
    }

    public void setApkFileName(String apkFileName) {
        this.apkFileName = apkFileName;
    }

    @Override
    public String toString() {
        return "GameVersion{" +
                "id=" + id +
                ", appId=" + appId +
                ", versionNo='" + versionNo + '\'' +
                ", versionInfo='" + versionInfo + '\'' +
                ", publishStatus=" + publishStatus +
                ", downloadLink='" + downloadLink + '\'' +
                ", versionSize=" + versionSize +
                ", creater=" + creater +
                ", createTm=" + createTm +
                ", modifyor=" + modifyor +
                ", modifyTm=" + modifyTm +
                ", apkLocPath='" + apkLocPath + '\'' +
                ", apkFileName='" + apkFileName + '\'' +
                '}';
    }
}
